
 <div id="content" class="clear">
 <div id="main" class="clear">
    
		<div id="head" class="clear">
		<h1>Site Config </h1>
		<div id="actions"> 
		<a href="http://miniplaneta.pl/encoreadmin/rc/2/table.html" class="button secondary">Cancel</a> 
		<a href="http://miniplaneta.pl/encoreadmin/rc/2/table.html" class="button primary">Save changes</a>
		</div>
		<!-- end page actions-->
		</div>
		<?php echo validation_errors(); ?>
       <?php 
			  $conf = array('enctype'=>'multipart/form-data','id'=>"formEditor", 'class'=>"mainForm clear");
			  echo form_open('manage/config',$conf);
	     ?>
		<p id="asterisk"> <span class="star">*</span> Fields marked with asterisk are required.</p>
		<fieldset class="clear">
			<legend> <span>base config</span></legend>
			<div class="field clear"> 
			<label class="error" for="txtName">Site Title: <span class="star">*</span></label> 
			<input value="<?php if(!empty($config['site_title'])) echo $config['site_title'];?>" name="site_title" class="text medium" id="txtName" type="text"> 
			<a href="#" class="hint"> <img class="hint" alt="Hint" src="<?php echo base_url(); ?>img/ico/icohint.png"> 
			<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eu urna nisi, ut fringilla justo.</span></a>
			<p class="error clear">Validation error goes here</p>
			</div>
			 <div class="field clear"> 
			<label for="areaText">Site Keyword: <span class="star">*</span></label> 
			<textarea cols="30" rows="2" name="site_keyword" class="area longest" id="areaText"><?php if(!empty($config['site_keyword']))echo $config['site_keyword'];?>
			</textarea> 
			<a href="#" class="hint"> <img class="hint" alt="Hint" src="<?php echo base_url(); ?>img/ico/icohint.png"> 
			<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eu urna nisi, ut fringilla justo.</span>
			</a>
			<p class="error clear">Validation error goes here</p>
			</div>
			 <div class="field clear"> 
			<label for="areaText">Site Description: <span class="star">*</span></label> 
			<textarea cols="30" rows="3" name="site_description" class="area longest" id="areaText"><?php if(!empty($config['site_description']))echo $config['site_description'];?>
			</textarea> 
			<a href="#" class="hint"> <img class="hint" alt="Hint" src="<?php echo base_url(); ?>img/ico/icohint.png"> 
			<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eu urna nisi, ut fringilla justo.</span>
			</a>
			<p class="error clear">Validation error goes here</p>
			</div>
			 <div class="field clear"> 
			<label for="areaText">Statistics Code: <span class="star">*</span></label> 
			<textarea cols="30" rows="5" name="statistics_code" class="area longest" id="areaText"><?php if(!empty($config['statistics_code'])) echo $config['statistics_code'];?>
			</textarea> 
			<a href="#" class="hint"> <img class="hint" alt="Hint" src="<?php echo base_url(); ?>img/ico/icohint.png"> 
			<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eu urna nisi, ut fringilla justo.</span>
			</a>
			<p class="error clear">Validation error goes here</p>
			</div>
			 <div class="field clear"> 
			<label for="txtName" class="error">联系人: <span class="star">*</span></label> 
			<input id="txtName" class="text medium" name="siter" value="<?php if(!empty($config['siter']))echo $config['siter'];?>" type="text"> 
			<a class="hint" href="#"> <img src="<?php echo base_url(); ?>img/ico/icohint.png" alt="Hint" class="hint"> 
			<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eu urna nisi, ut fringilla justo.</span></a>
			<p class="error clear">Validation error goes here</p>
			</div>
			<div class="field clear"> 
			<label for="txtName" class="error">电话: <span class="star">*</span></label> 
			<input id="txtName" class="text medium" name="phone" value="<?php if(!empty($config['phone']))echo $config['phone'];?>" type="text"> 
			<a class="hint" href="#"> <img src="<?php echo base_url(); ?>img/ico/icohint.png" alt="Hint" class="hint"> 
			<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eu urna nisi, ut fringilla justo.</span></a>
			<p class="error clear">Validation error goes here</p>
			</div>
			<div class="field clear"> 
			<label for="txtName" class="error">Email: <span class="star">*</span></label> 
			<input id="txtName" class="text medium" name="email" value="<?php if(!empty($config['email']))echo $config['email'];?>" type="text"> 
			<a class="hint" href="#"> <img src="<?php echo base_url(); ?>img/ico/icohint.png" alt="Hint" class="hint"> 
			<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eu urna nisi, ut fringilla justo.</span></a>
			<p class="error clear">Validation error goes here</p>
			</div>
			<div class="field clear"> 
			<label for="txtName" class="error">备案号: <span class="star">*</span></label> 
			<input id="txtName" class="text medium" name="site_sn" value="<?php if(!empty($config['site_sn']))echo $config['site_sn'];?>" type="text"> 
			<a class="hint" href="#"> <img src="<?php echo base_url(); ?>img/ico/icohint.png" alt="Hint" class="hint"> 
			<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce eu urna nisi, ut fringilla justo.</span></a>
			<p class="error clear">Validation error goes here</p>
			</div>
		</fieldset>
		 
		   <input id="btnSubmit" class="button primary" value="Save changes" type="submit"> 
		   <input id="btnCancel" class="button secondary" value="Cancel" type="button">
		   
		</form>
 </div>
  
<div id="sidebar">

		<div id="summary" class="sidebox clear"><h1>Summary</h1><div class="boxContent clear"><dl class="clear"><dt>Unique visitors:</dt><dd>846 525</dd><dt>Page hits:</dt><dd>5 434 125</dd><dt>Days online:</dt><dd>64</dd><dt>Launch date:</dt><dd>2010-09-09</dd><dt>Total sales:</dt><dd>17 465,50 $</dd>
		<dt>Today sales:</dt><dd>235,20 $</dd><dt class="last">Recent order:</dt><dd class="last">
		 <a href="#">#5843215</a></dd></dl></div></div><div id="calendar" class="sidebox clear">
		 <h1>Event calendar</h1><div class="boxContent clear"><div id="currentMonth"> 
		 <a id="prevMonth" class="button small" href="#">&laquo;</a> <span>September 2010</span>
		  <a id="nextMonth" class="button small" href="#">&raquo;</a></div><table cellpadding="0" cellspacing="0"><thead><tr><th>Mon</th><th>Tue</th><th>Wed</th><th>Thu</th><th>Fri</th><th>Sat</th><th>Sun</th></tr></thead><tbody><tr> <td class="otherMonth">28</td> <td class="otherMonth">29</td> <td class="otherMonth">30</td> <td>1</td> <td>2</td> <td>3</td> <td>4</td></tr><tr> <td>5</td> <td>6</td> <td class="today">7</td> <td>8</td> <td>9</td> <td>10</td> <td>11</td></tr><tr> <td>12</td> <td>13</td> <td>14</td> <td class="event" title="Event description - day 1/3">15</td> <td class="event" title="Event description - day 2/3">16</td>
		<td class="event" title="Event description - day 3/3">17</td> <td>18</td></tr><tr> 
		<td>19</td> <td>20</td> <td>21</td> <td>22</td> <td>23</td> <td>24</td> <td>25</td>
		</tr><tr> <td>26</td> <td class="event" title="Event description - day 1/2">27</td> 
		<td class="event" title="Event description - day 2/2">28</td> <td>29</td> <td>30</td> 
		<td>31</td> <td class="otherMonth">01</td>
		</tr>
		</tbody>
		</table>
		<h2>Sep, 15-17</h2>
		<p>Event description goes here...</p><h2>Sep, 27-28</h2>
		<p>This is another event description</p>
		</div>
		</div>
</div>
</div>
<div id="push">&nbsp;</div>
</div>
